//
//  PKNetworkUtilsHelper.swift
//  Panku
//
//  Created by mac on 2017/4/7.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

typealias PKNetworkUtilsFactory = () -> PKNetworkUtils

enum PKNetworkUtilsType {
    case alamorefire
}
    
enum PKNetworkUtilsHelper {
    static func factory() -> PKNetworkUtilsFactory {
        return PKNetworkUtils_Alamofire.make
    }
    
//    static func factory(for type: PKNetworkUtilsType) -> PKNetworkUtilsFactory {
//        switch type {
//        case .alamorefire:
//            return PKNetworkUtils_Alamofire.make
//        }
//    }
}

